<?php
//部门
namespace app\crm\model;

use think\Db;

class Department extends \ShopModel
{
    protected $table = 'sh_crm_department';
    protected $pk = 'department_id';
    protected $autoWriteTimestamp = true;
    protected $updateTime = false;
    protected $createTime = 'create_at';
    public function DepartmentDb(){
        return Db::name('crm_department');
    }

}
